﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Grebok.Persistence
{
    public class ScheduledAction
    {
        private object target;
        private ActionType type;

        public enum ActionType
        {
            Create,
            Delete,
            Update
        }

        public ScheduledAction(object target, ActionType type)
        {
            this.target = target;
            this.type = type;
        }

        public object Target
        {
            get
            {
                return target;
            }
        }

        public ActionType Type
        {
            get
            {
                return type;
            }
        }
    }
}
